package si.yun.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import java.io.Serializable;
import java.math.BigDecimal;
/** 
 * @Author Cxc 
 * @Author QQ:1304793236 
 * @Date 2021-11-24 14:55:42 
 */
@Entity
@Table ( name ="sy_product" )
public class SyProduct  implements Serializable {

	private static final long serialVersionUID =  697024553820489753L;

	/**
	 * 商品id
	 */
   	@Column(name = "product_id" )
	private Integer productId;

	/**
	 * 商品编号
	 */
   	@Column(name = "product_code" )
	private Integer productCode;

	/**
	 * 商品分类
	 */
   	@Column(name = "category_id" )
	private Integer categoryId;

	/**
	 * 商品名称
	 */
   	@Column(name = "product_name" )
	private String productName;

	/**
	 * 搜索关键字
	 */
   	@Column(name = "search_keywords" )
	private String searchKeywords;

	/**
	 * 商品主图
	 */
   	@Column(name = "main_image" )
	private String mainImage;

	/**
	 * 商品现价
	 */
   	@Column(name = "currentprice_product" )
	private BigDecimal currentpriceProduct;

	/**
	 * 商品原价
	 */
   	@Column(name = "originalprice_product" )
	private BigDecimal originalpriceProduct;

	/**
	 * 商品描述
	 */
   	@Column(name = "product_description" )
	private String productDescription;

	/**
	 * 点击量
	 */
   	@Column(name = "hits" )
	private Integer hits;

	/**
	 * 商品审核状态(2审核中,3审核通过，4审核不通过)
	 */
   	@Column(name = "product_sate" )
	private Integer productSate;

	/**
	 * 创建人
	 */
   	@Column(name = "create_user" )
	private Integer createUser;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_date" )
	private String createDate;

	/**
	 * 更新人
	 */
   	@Column(name = "update_user" )
	private Integer updateUser;

	/**
	 * 更新时间
	 */
   	@Column(name = "update_date" )
	private String updateDate;

	/**
	 * 商品推荐（2新品，3推荐）
	 */
   	@Column(name = "recommend" )
	private Integer recommend;

	/**
	 * 是否可用优惠券(2yes,3no)
	 */
   	@Column(name = "discount" )
	private Integer discount;

	/**
	 * 服务保证（2退货无忧，3快速退款，4包邮，5不包邮）
	 */
   	@Column(name = "ensure" )
	private String ensure;

	/**
	 * 商品销量
	 */
   	@Column(name = "product_sales" )
	private Integer productSales;

	/**
	 * 商品标签
	 */
   	@Column(name = "product_label" )
	private String productLabel;

	/**
	 * 状态(1上架，2下架）
	 */
   	@Column(name = "state" )
	private Integer state;

	/**
	 * 收藏数量
	 */
   	@Column(name = "collection_volume" )
	private Integer collectionVolume;

	/**
	 * 点赞数量
	 */
   	@Column(name = "fabulous" )
	private Integer fabulous;

  public Integer getProductId() {
    return productId;
  }

  public void setProductId(Integer productId) {
    this.productId = productId;
  }


  public Integer getProductCode() {
    return productCode;
  }

  public void setProductCode(Integer productCode) {
    this.productCode = productCode;
  }


  public Integer getCategoryId() {
    return categoryId;
  }

  public void setCategoryId(Integer categoryId) {
    this.categoryId = categoryId;
  }


  public String getProductName() {
    return productName;
  }

  public void setProductName(String productName) {
    this.productName = productName;
  }


  public String getSearchKeywords() {
    return searchKeywords;
  }

  public void setSearchKeywords(String searchKeywords) {
    this.searchKeywords = searchKeywords;
  }


  public String getMainImage() {
    return mainImage;
  }

  public void setMainImage(String mainImage) {
    this.mainImage = mainImage;
  }


  public BigDecimal getCurrentpriceProduct() {
    return currentpriceProduct;
  }

  public void setCurrentpriceProduct(BigDecimal currentpriceProduct) {
    this.currentpriceProduct = currentpriceProduct;
  }


  public BigDecimal getOriginalpriceProduct() {
    return originalpriceProduct;
  }

  public void setOriginalpriceProduct(BigDecimal originalpriceProduct) {
    this.originalpriceProduct = originalpriceProduct;
  }


  public String getProductDescription() {
    return productDescription;
  }

  public void setProductDescription(String productDescription) {
    this.productDescription = productDescription;
  }


  public Integer getHits() {
    return hits;
  }

  public void setHits(Integer hits) {
    this.hits = hits;
  }


  public Integer getProductSate() {
    return productSate;
  }

  public void setProductSate(Integer productSate) {
    this.productSate = productSate;
  }


  public Integer getCreateUser() {
    return createUser;
  }

  public void setCreateUser(Integer createUser) {
    this.createUser = createUser;
  }


  public String getCreateDate() {
    return createDate;
  }

  public void setCreateDate(String createDate) {
    this.createDate = createDate;
  }


  public Integer getUpdateUser() {
    return updateUser;
  }

  public void setUpdateUser(Integer updateUser) {
    this.updateUser = updateUser;
  }


  public String getUpdateDate() {
    return updateDate;
  }

  public void setUpdateDate(String updateDate) {
    this.updateDate = updateDate;
  }


  public Integer getRecommend() {
    return recommend;
  }

  public void setRecommend(Integer recommend) {
    this.recommend = recommend;
  }


  public Integer getDiscount() {
    return discount;
  }

  public void setDiscount(Integer discount) {
    this.discount = discount;
  }


  public String getEnsure() {
    return ensure;
  }

  public void setEnsure(String ensure) {
    this.ensure = ensure;
  }


  public Integer getProductSales() {
    return productSales;
  }

  public void setProductSales(Integer productSales) {
    this.productSales = productSales;
  }


  public String getProductLabel() {
    return productLabel;
  }

  public void setProductLabel(String productLabel) {
    this.productLabel = productLabel;
  }


  public Integer getState() {
    return state;
  }

  public void setState(Integer state) {
    this.state = state;
  }


  public Integer getCollectionVolume() {
    return collectionVolume;
  }

  public void setCollectionVolume(Integer collectionVolume) {
    this.collectionVolume = collectionVolume;
  }


  public Integer getFabulous() {
    return fabulous;
  }

  public void setFabulous(Integer fabulous) {
    this.fabulous = fabulous;
  }

}
